package com.richinfo.rabbit.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
* Created by WangXJ
* 2018-11-19 15:54
*/
@Configuration
public class RabbitConfig {
	
	@Bean
	public Queue helloQueue() {
		return new Queue("hello");
	}
}
